#pragma once
#include "afxwin.h"


// CStationManage dialog

class CStationManage : public CDialogEx
{
	DECLARE_DYNAMIC(CStationManage)

public:
  CStationManage(CWnd* pParent, CMeasureSolution& solution,
    CMeasureProject& project);
	virtual ~CStationManage();

// Dialog Data
	enum { IDD = IDD_STATION_MANAGE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
  afx_msg void OnClickedOk();
  afx_msg void OnClickedCancel();
  virtual BOOL OnInitDialog();
  afx_msg void OnAddStation();
  afx_msg void OnDeleteStation();
  afx_msg void OnStationListChange();
  afx_msg void OnModelSwitch();
  afx_msg void OnFindModelClicked();
  afx_msg void OnAddModel();
  afx_msg void OnDeleteModel();
  afx_msg void OnAddCoordsys();
  afx_msg void OnDeleteCoordsys();
  afx_msg void OnCoordsysSwitch();
  afx_msg void OnBuildCoordsysClicked();

private:
  CMeasureSolution& solution_;
  CMeasureProject& project_;
  CListBox wnd_station_list_;
  CEdit wnd_station_camera_;
  CButton wnd_station_delete_;
  CComboBox wnd_model_list_;
  CEdit wnd_cmd_;
  CButton wnd_find_model_;
  BOOL find_model_;
  CComboBox wnd_coordsys_list_;
  CButton wnd_build_coordsys_;
  CButton wnd_add_model_;
  CButton wnd_delete_model_;
  CButton wnd_add_coordsys_;
  CButton wnd_delete_coordsys_;
};
